apiVersion: nop.example.org/v1alpha1
kind: NopResource
metadata:
  namespace: default
  name: bind-existing-xr
spec:
  # Explicitly bind to the XR.
  resourceRef:
    apiVersion: nop.example.org/v1alpha1
    kind: XNopResource
    name: bind-existing-xr
  coolField: "Set by claim"
  # This is necessary to ensure the claim's MRs are actually gone before we
  # delete the Provider - https://github.com/crossplane/crossplane/issues/4251
  compositeDeletePolicy: Foreground
